package com.cn.demo.config;

/**
 * Rabbit mq常量定义
 */
public class RabbitConst {

    /**
     * 秒杀消息队列
     */
    public final static String SECKILL_QUEUE = "seckill.queue";
    /**
     * 秒杀消息交换机
     */
    public final static String SECKILL_EXCHANGE = "seckill.exchange";
    /**
     * 秒杀路由关键字
     */
    public final static String SECKILL_ROUTING_KEY = "seckill.routing.key";

    /**
     * 漏桶算法实现队列
     */
    public final static String LEAKY_BUCKET_QUEUE = "leaky.bucket.queue";
    /**
     * 漏桶算法实现交换机
     */
    public final static String LEAKY_BUCKET_EXCHANGE = "leaky.bucket.exchange";
    /**
     * 漏桶算法实现路由关键字
     */
    public final static String LEAKY_BUCKET_ROUTING_KEY = "leaky.bucket.routing.key";


}
